﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VietThinks.Model;

namespace VietThinks.Mapping.Maps
{
    public class ProductOptionMap : DomainEntityMap<ProductOption>
    {
        public ProductOptionMap()
        {
            Schema("Product");
            Table("ProductOption");
            References(m => m.Product, "ProductId");
            References(m => m.Option, "OptionId");                        
        }
    }
}
